package com.itheima.mapper;

import com.itheima.domain.StudentsQueryParam;
import com.itheima.domain.pojo.Students;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface StudentsMapper {

    List<Students> SelectStudentsList(StudentsQueryParam studentsQueryParam);

    void delete(List<Integer> ids);

    void insert(Students students);

    Students selectByStudentId(Integer id);

    void update(Students students);

    void violation(Integer id, Integer score);

    List<Map<String, Object>> studentCountData();


//    List<Students> studentlists();
}
